import withHoc from "../HOC/Hoc"

const My=withHoc(({count,changeCount})=>{
    return (
        <>
            <h1>My组件</h1>
            <div>{count}</div>
            <button onClick={changeCount}>点我</button>
        </>
    )
})

export default My